package com.beamfield.dao.steelplant;

import com.beamfield.model.SteelplantSimpleAcceptanceDetail;
import com.beamfield.modelVo.SteelplantSimpleAcceptanceDetailVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SteelplantSimpleAcceptanceDetailMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SteelplantSimpleAcceptanceDetail record);

    int insertSelective(SteelplantSimpleAcceptanceDetail record);

    SteelplantSimpleAcceptanceDetail selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SteelplantSimpleAcceptanceDetail record);

    int updateByPrimaryKey(SteelplantSimpleAcceptanceDetail record);

    int deleteByAcceptanceId(Long acceptanceId);

    List<SteelplantSimpleAcceptanceDetailVO> selectPage(@Param("offset") String offset,@Param("limit") String limit,@Param("acceptanceId") String acceptanceId);

    long countPage(String acceptanceId);
}
